#ifndef AnimatedSprite_h
#define AnimatedSprite_h
#include "Sprite.h"
#include "Texture.h"

class AnimatedSprite : public Sprite
{
public:
	int _Count;
	
	AnimatedSprite(LPD3DXSPRITE SpriteHandler, Texture *texture, int Width, int Height, int Count, int SpritePerRow,int StartIndex );
	~AnimatedSprite(void);
	void Next();
	void Reset();
};

#endif